import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLazyload from 'vue-lazyload'
import 'swiper/dist/css/swiper.css'
import 'assets/sass/index.scss'
import store from './store'

Vue.use(VueLazyload, {
  preLoad: 0,
  attempt: 5,
  loading: require("assets/img/loading.png")
})
let vm = new Vue({
  store,
  router,
  el: '#app',
  render: h => h(App)
})

Vue.use({
  vm
})
